package cn.zebra.dev.mall.module.product.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author HH
 */
@Getter
@Setter
@ToString
public class ProductQuestionVO {
    @NotNull(message = "请选择商品")
    @ApiModelProperty(value = "商品id")
    private Long productId;

    @ApiModelProperty(value = "商品问题内容")
    @NotBlank(message = "请输入商品问题内容")
    private String questionContent;

}
